package com.wash.shoes.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 工单节点信息
 * <p>
 * <p>
 * CREATE TABLE `os_work_order_node` (
 * `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
 * `order_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '订单id',
 * `work_order_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '工单id',
 * `content` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '内容',
 * `status` varchar(50) NOT NULL DEFAULT '0' COMMENT '工单状态 0 1已完结',
 * `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
 * `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
 * `create_time` datetime DEFAULT NULL COMMENT '创建时间',
 * `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
 * `update_time` datetime DEFAULT NULL COMMENT '更新时间',
 * PRIMARY KEY (`id`) USING BTREE,
 * KEY `idx_order_id` (`order_id`) USING BTREE
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='工单节点表';
 */
@Data
@TableName("os_work_order_node")
public class WorkOrderNodePo extends BasePersist {
    /**
     * id
     */
    @TableId
    @ApiModelProperty(value = "工单节点id")
    private String id;
    /**
     * 订单id
     */
    @TableField("order_id")
    @ApiModelProperty(value = "订单id")
    private String orderId;
    /**
     * 工单id
     */
    @ApiModelProperty(value = "工单id")
    @TableField("work_order_id")
    private String workOrderId;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;
    /**
     * 工单状态 0创建  1已完结
     */
    @ApiModelProperty(value = "工单状态 0创建 1已完结")
    @TableField("status")
    private String status;
    /**
     * 备注
     */
    @TableField("remark")
    @ApiModelProperty(value = "备注")
    private String remark;
}